home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / languages / oberon.lha / system / Oberon4Amiga.Guide.Text (.txt) < prev    next >
Oberon Text  |  1994-08-02  |  8KB  |  107 lines

  1. Syntax10.Scn.Fnt
  2. ParcElems
  3. Alloc
  4. Syntax14b.Scn.Fnt
  5. Syntax8b.Scn.Fnt
  6. Syntax12.Scn.Fnt
  7. Syntax12b.Scn.Fnt
  8. Syntax8.Scn.Fnt
  9. Syntax10i.Scn.Fnt
  10. Syntax12i.Scn.Fnt
  11.     Syntax10b.Scn.Fnt
  12. Oberon for AmigaTM User's Guide
  13. V4 Beta, Release 0.7 (2 August 1994)
  14. Stefan H_M Ludwig & Claudio Nieder
  15. Copyright 1991- 94, ETH Z
  16. Introduction
  17. Oberon for AmigaTM is an implementation of OberonTM for Commodore Amiga Systems. Both the programming language Oberon_2 and the Oberon System have been implemented. For a complete description of the Language and of the System, one should read the following books:
  18. N. Wirth and M. Reiser: Programming in Oberon. Steps beyond Pascal and Modula_2.
  19. Addison Wesley, 1992, ISBN 0_201_56543_9.
  20. Tutorial for the Oberon programming language and concise language reference.
  21. M. Reiser: The Oberon System. User Guide and Programmer's Manual.
  22. Addison Wesley, 1991, ISBN 0_201_54422_9.
  23. User manual for the programming environment and reference for the standard module library.
  24. N. Wirth and J. Gutknecht: Project Oberon. The Design of an Operating System and Compiler.
  25. Addison Wesley, 1992, ISBN 0_201_54428_8.
  26. Program listings with explanations for the whole Oberon system, including the compiler for NS32000.
  27. ssenb
  28. ck: Object_Oriented Programming in Oberon_2
  29. Springer_Verlag, 1993, ISBN 0_387_56411_X.
  30. Principles and applications of object_oriented programming with examples in Oberon_2.
  31. The technical report 160 by H. M
  32. ssenb
  33. ck, Differences between Oberon and Oberon_2, The Programming Language Oberon_2, is recommended too. It is present as on_line documentation:
  34.     Edit.Open Oberon2.Differences.Text
  35.     Edit.Open Oberon2.Report.Text
  36. The following short tutorial describes the differences to the original implementation from a user's point of view.
  37. Oberon for Amiga runs as a single Amiga process on any system with at least a 68020 processor and floating point coprocessor featuring Amiga OS 2.0 or newer. It uses an own screen as display. The dimensions of the user track and the system track are automatically defined when starting Oberon for Amiga and cannot be changed until the Oberon process terminates.
  38. Installation
  39. Oberon for Amiga is distributed as an lha archive (see the accompaning readme file for a description of the contents). The archive contents have to be copied into a common directory (e.g. Work:Oberon). This directory should be put in your command search path. Oberon for Amiga is started using a script which name is oberon. The environment variable OBERON is used, when defined, as search path for files.
  40. Starting Oberon for Amiga
  41. Oberon for Amiga is started from a shell window using the script oberon or from the workbench using the icon. The syntax is:
  42. oberon     [H=HEAP/N heapsizeinMB] [[CMD=COMMAND] module.command]
  43. where
  44. - heapsizeinMB is the size of the allocated Oberon heap in MB (default: depending on free memory)
  45. - the command module.command is executed (default: CMD Oberon.Loop)
  46. Note: The options above are not yet supported
  47. When started for the first time, Oberon for Amiga will ask for the preferred screen mode and resolution. This information will be stored in the environment variable Oberon for Amiga. The command System.ChangeMode
  48. can be used to change the value at a later time.
  49. If Oberon for Amiga gets out of control (e.g. because of a looping command), press Ctrl_C in the terminal window (do not forget to set the focus first) or doubleclick on the KillOberon icon. The Amiga OS has problems if a process is interrupted, while it is waiting for a message reply. To avoid problems, Ctrl_C refuses to work when it detects a possible critical situation.
  50. System.Quit terminates the oberon process. It is the normal way to leave Oberon for Amiga.
  51. Differences to the Original Oberon
  52. The differences are due to the underlying hardware and software. Here follows a list of modules containing differences:
  53. System
  54.     New commands:
  55.         - Quit to leave Oberon for Amiga
  56.         - Execute command to execute a (non_interactive) shell command
  57.         - ChangeDirectory newdir to change the working directory
  58.         - ChangeMode to get a screen mode requester for changing the screen mode.
  59.             Note: The change will only take effect after a restart of Oberon for Amiga.
  60. Amiga*
  61.     Amiga specific modules, by which the Oberon System gains access to the Amiga libraries. 
  62. Display
  63.     Imports Amiga*.
  64.     Procedures DefCC, DefCP, DrawCX, FadeCX, InitCC, InitCP, SetCursor are not implemented.
  65.     Procedure SetMode has no effect.
  66.     The display bitmap is not directly accessible (Map returns 0).
  67.     Pattern format is different, use Display.NewPattern to define a pattern.
  68.     image[1] defines the bottom line of the pattern. image[0] is reserved.
  69. Display1
  70.     Module exporting additional drawing procedures.
  71. Input
  72.     Input events are buffered.
  73.     Special keys:
  74.     F1    mark viewer
  75.     Esc    escape
  76.     F3    break
  77. Input.Time() returns the real time in milliseconds since Oberon for Amiga has been started.
  78. Files
  79.     Exports ChangeDirectory.
  80. Types
  81.     New interface module to the type system. Necessary to implement persistent objects.
  82. Oberon
  83.     Time() returns Input.Time()
  84. Printer
  85.     generates a postscript file named Oberon.Printfile.ps and sends it to the printer if the printer name is not none. (printing not yet supported)
  86. Kernel
  87.     GC may be called at any time, since local pointers (on the stack or in registers) are used as roots during the mark phase of the garbage collection.
  88. International Characters    
  89. The option character is "\" instead of "/". This allows to use "/" in file names (Amiga path names).
  90. For questions and bug reports, please write to
  91.   The Secretary
  92.   Institut f
  93. r Computersysteme
  94.   ETH Zentrum    Tel: (+41_1) 632 7311
  95.   CH_8092 Z
  96. rich    Fax: (+41_1) 261 5389
  97.   Switzerland    e_mail: oberon@inf.ethz.ch
  98. Appendix A: Installing Oberon for Amiga from 3"1/2 floppy diskettes
  99. 1. Create a directory for Oberon as described previously under "Installation"
  100.     cd Work:
  101.     makedir Oberon
  102. 2. Change to this new directory
  103.     cd Oberon
  104. 3. Insert the diskette of Oberon for Amiga in your floppy drive
  105. 4. Extract the contents of the archive file into the current directory
  106.     lha -a x df0:Oberon.lha
  107.